package cn.bgs.service;

import cn.bgs.Exception.PhoenixException;
import cn.bgs.pojo.Dormitory;
import cn.bgs.pojo.VoAll.DormitoryVo;
import cn.bgs.pojo.Student;

import java.util.List;

public interface DormService {


    List<Student> findAllDorm(DormitoryVo vo);

    List<Dormitory> findArea();


    List<Dormitory> findBuildingNo(String buildingNo);

    List<Dormitory> findBuildingFloor(String noo, String fll);


    Integer delDorm(int pkId);

    Integer addDorm(Dormitory dd);

    Integer updateDorm(Dormitory dd) throws PhoenixException;


    Dormitory selectByPrimaryKey(Integer pkId);
}
